package com.tqz.rc.client;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.web.client.RestTemplate;

/**
 * <p>客户端的启动类
 *
 * @author tianqingzhao
 * @since 2021/8/30 9:50
 */
@SpringBootApplication
public class TqzRcClientApplication {

    public static void main(String[] args) {
        SpringApplication.run(TqzRcClientApplication.class);
    }

    @Bean
    public RestTemplate restTemplate() {
        return new RestTemplate();
    }
}
